import React from 'react';
import { Tabs } from 'antd';
import Step1 from './Step1';
import Step2 from './Step2';
import Step3 from './Step3';
import Step4 from './Step4';

const Strategy = () => {
  const items = [
    { label: '概念', key: '0', children: <Step1 /> },
    { label: '新增需求', key: '1', children: <Step2 /> },
    { label: '策略模式', key: '2', children: <Step3 /> },
    { label: '对比总结', key: '3', children: <Step4 /> },
  ];
  return (
    <div className='container'>
      <Tabs defaultActiveKey="0" items={items} />
    </div>
  );
};
export default Strategy;
